import request from '@/utils/request'

// 获取注册企业信息列表
export  const  toAuditList = (search)=>
	request({
		url:'/op/register_ent/get_register_ent_list',
		method:'get',
		params:search
	})

// 获取指定的注册企业信息
export  const  get_toAuditEntDetail = (code)=>
	request({
		url:'/op/register_ent/get_register_ent',
		method:'get',
		params:{
			code
		}
	})

// 审核 注册企业信息	
export  const  Audit_ent = (form)=>
	request({
		url:'/op/register_ent/verify_register_ent',
		method:'post',
		data:JSON.stringify(form)
	})

//获取注册用户列表	
export  const  listUser_of_olivia = (search)=>
	request({
		url:'/sys/user/get_user_list',
		method:'get',
		params: {
            pageNo:search.pageNo,
            pageSize:search.pageSize,
            keyWord:search.keyWord,
            roleCode:'2f68cf0e-987a-489f-8d86-9de5da23e372',
        }  
	})

// 删除 注册企业信息
export  const  del_RegisterEnt = (code)=>
	request({
		url:'/op/register_ent/delete_register_ent',
		method:'get',
		params:{
			code
		}
	})